package com.ruoyi.extensionmonitor.service.impl;

import java.util.List;

import com.ruoyi.extensionmonitor.domain.InfoExtensionMonitorTargetDetail;
import com.ruoyi.extensionmonitor.mapper.InfoExtensionMonitorTargetDetailMapper;
import com.ruoyi.extensionmonitor.service.IInfoExtensionMonitorTargetDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 延伸监控详情Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-12-05
 */
@Service
public class InfoExtensionMonitorTargetDetailServiceImpl implements IInfoExtensionMonitorTargetDetailService
{
    @Autowired
    private InfoExtensionMonitorTargetDetailMapper infoExtensionMonitorTargetDetailMapper;

    /**
     * 查询延伸监控详情
     * 
     * @param id 延伸监控详情主键
     * @return 延伸监控详情
     */
    @Override
    public InfoExtensionMonitorTargetDetail selectInfoExtensionMonitorTargetDetailById(Long id)
    {
        return infoExtensionMonitorTargetDetailMapper.selectInfoExtensionMonitorTargetDetailById(id);
    }

    /**
     * 查询延伸监控详情列表
     * 
     * @param infoExtensionMonitorTargetDetail 延伸监控详情
     * @return 延伸监控详情
     */
    @Override
    public List<InfoExtensionMonitorTargetDetail> selectInfoExtensionMonitorTargetDetailList(InfoExtensionMonitorTargetDetail infoExtensionMonitorTargetDetail)
    {
        return infoExtensionMonitorTargetDetailMapper.selectInfoExtensionMonitorTargetDetailList(infoExtensionMonitorTargetDetail);
    }

    /**
     * 新增延伸监控详情
     * 
     * @param infoExtensionMonitorTargetDetail 延伸监控详情
     * @return 结果
     */
    @Override
    public int insertInfoExtensionMonitorTargetDetail(InfoExtensionMonitorTargetDetail infoExtensionMonitorTargetDetail)
    {
        return infoExtensionMonitorTargetDetailMapper.insertInfoExtensionMonitorTargetDetail(infoExtensionMonitorTargetDetail);
    }

    /**
     * 修改延伸监控详情
     * 
     * @param infoExtensionMonitorTargetDetail 延伸监控详情
     * @return 结果
     */
    @Override
    public int updateInfoExtensionMonitorTargetDetail(InfoExtensionMonitorTargetDetail infoExtensionMonitorTargetDetail)
    {
        return infoExtensionMonitorTargetDetailMapper.updateInfoExtensionMonitorTargetDetail(infoExtensionMonitorTargetDetail);
    }

    /**
     * 批量删除延伸监控详情
     * 
     * @param ids 需要删除的延伸监控详情主键
     * @return 结果
     */
    @Override
    public int deleteInfoExtensionMonitorTargetDetailByIds(Long[] ids)
    {
        return infoExtensionMonitorTargetDetailMapper.deleteInfoExtensionMonitorTargetDetailByIds(ids);
    }

    /**
     * 删除延伸监控详情信息
     * 
     * @param id 延伸监控详情主键
     * @return 结果
     */
    @Override
    public int deleteInfoExtensionMonitorTargetDetailById(Long id)
    {
        return infoExtensionMonitorTargetDetailMapper.deleteInfoExtensionMonitorTargetDetailById(id);
    }
}
